package grape.house.rest.estatealbum.mapper;

import grape.house.rest.estatealbum.form.EstateAlbumListForm;
import grape.house.service.estatealbum.po.EstateAlbum;
import grape.common.rest.mvc.WebMapper;
import org.mapstruct.Mapper;
import grape.house.rest.estatealbum.form.EstateAlbumCreateForm;
import grape.house.rest.estatealbum.form.EstateAlbumUpdateForm;
import grape.house.rest.estatealbum.form.EstateAlbumListPageForm;
import grape.house.rest.estatealbum.vo.EstateAlbumVo;
import org.mapstruct.ReportingPolicy;
/**
 * <p>
 * 楼盘相册表 前端领域模型映射
 * </p>
 *
 * @author yangwei
 * @since 2020-09-17
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface EstateAlbumWebMapper extends WebMapper<EstateAlbumVo, EstateAlbum> {

    EstateAlbum formToPo(EstateAlbumCreateForm f);
    EstateAlbum formToPo(EstateAlbumUpdateForm f);
    EstateAlbum formToPo(EstateAlbumListPageForm f);
    EstateAlbum formToPo(EstateAlbumListForm f);
}
